package net.dgg.zz.common.entity;

import io.swagger.annotations.ApiModelProperty;
import net.dgg.zz.common.base.entity.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

public class Order extends BaseEntity {

    /**
     * 销售订单ID
     */
    private Long orderId;

    /**
     * 销售订单编号
     */
    private String orderNo;

    /**
     * 生产主订单编号
     */
    private String scOrderNo;

    /**
     * 商机ID
     */
    private Long businessId;

    /**
     * 商机编号
     */
    private String businessNo;

    /**
     * 客户ID
     */
    private Long customerId;

    /**
     * 客户编号
     */
    private String customerNo;

    /**
     * 客户电话
     */
    private String customerPhone;

    /**
     * 客户名字
     */
    private String customerName;

    /**
     * 联系人电话
     */
    private String contactPhone;

    /**
     * 业态标识
     */
    private String businessTypeId;

    /**
     * 业态名字
     */
    private String businessTypeName;

    /**
     * 签单商务ID
     */
    private Long signUserId;

    /**
     * 签单商务名字
     */
    private String signUserName;

    /**
     * 签单商务部门ID
     */
    private Long signUserOrgId;

    /**
     * 签单商务部门名字
     */
    private String signUserOrgName;

    /**
     * 签单事业部ID
     */
    private Long signOrgId;

    /**
     * 签单事业部名字
     */
    private String signOrgName;

    /**
     * 订单金额(单位分)
     */
    private BigDecimal money;

    /**
     * 核款状态
     */
    private String payStatus;
    /**
     * 付款方式
     */
    private String payMethod;
    /**
     * 下单时间
     */
    private Date signDate;

    /**
     * 分配方式
     */
    private String alotWay;

    /**
     * 接单人ID
     */
    private Long receiverId;

    /**
     * 接单人名字
     */
    private String receiverName;

    /**
     * 接单人部门ID
     */
    private Long receiverOrgId;

    /**
     * 接单人部门名字
     */
    private String receiverOrgName;

    /**
     * 接单时间
     */
    private Date receiveOrderDate;

    /**
     * 生产主订单状态
     */
    private String orderStatus;

    /**
     * 合同编号
     */
    private String contractNo;

    /**
     * 订单来源
     */
    private String scOrderSource;

    /**
     * 销售订单ID
     *
     * @return order_id 销售订单ID
     */
    public Long getOrderId() {
        return orderId;
    }

    /**
     * 销售订单ID
     *
     * @param orderId 销售订单ID
     */
    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    /**
     * 销售订单编号
     *
     * @return order_no 销售订单编号
     */
    public String getOrderNo() {
        return orderNo;
    }

    /**
     * 销售订单编号
     *
     * @param orderNo 销售订单编号
     */
    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo == null ? null : orderNo.trim();
    }

    /**
     * 生产主订单编号
     *
     * @return sc_order_no 生产主订单编号
     */
    public String getScOrderNo() {
        return scOrderNo;
    }

    /**
     * 生产主订单编号
     *
     * @param scOrderNo 生产主订单编号
     */
    public void setScOrderNo(String scOrderNo) {
        this.scOrderNo = scOrderNo == null ? null : scOrderNo.trim();
    }

    /**
     * 商机ID
     *
     * @return business_id 商机ID
     */
    public Long getBusinessId() {
        return businessId;
    }

    /**
     * 商机ID
     *
     * @param businessId 商机ID
     */
    public void setBusinessId(Long businessId) {
        this.businessId = businessId;
    }


    public String getBusinessNo() {
        return businessNo;
    }

    public void setBusinessNo(String businessNo) {
        this.businessNo = businessNo;
    }

    /**
     * 客户ID
     *
     * @return customer_id 客户ID
     */
    public Long getCustomerId() {
        return customerId;
    }

    /**
     * 客户ID
     *
     * @param customerId 客户ID
     */
    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }


    public String getCustomerNo() {
        return customerNo;
    }

    public void setCustomerNo(String customerNo) {
        this.customerNo = customerNo;
    }

    /**
     * 客户电话
     *
     * @return cutomer_phone 客户电话
     */
    public String getCustomerPhone() {
        return customerPhone;
    }

    /**
     * 客户电话
     *
     * @param customerPhone 客户电话
     */
    public void setCustomerPhone(String customerPhone) {
        this.customerPhone = customerPhone == null ? null : customerPhone.trim();
    }

    /**
     * 客户名字
     *
     * @return customer_name 客户名字
     */
    public String getCustomerName() {
        return customerName;
    }

    /**
     * 客户名字
     *
     * @param customerName 客户名字
     */
    public void setCustomerName(String customerName) {
        this.customerName = customerName == null ? null : customerName.trim();
    }

    /**
     * 联系人电话
     *
     * @return contact_Phone 联系人电话
     */
    public String getContactPhone() {
        return contactPhone;
    }

    /**
     * 联系人电话
     *
     * @param contactPhone 联系人电话
     */
    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone == null ? null : contactPhone.trim();
    }

    /**
     * 业态标识
     *
     * @return business_type_id 业态标识
     */
    public String getBusinessTypeId() {
        return businessTypeId;
    }

    /**
     * 业态标识
     *
     * @param businessTypeId 业态标识
     */
    public void setBusinessTypeId(String businessTypeId) {
        this.businessTypeId = businessTypeId == null ? null : businessTypeId.trim();
    }

    /**
     * 业态名字
     *
     * @return business_type_name 业态名字
     */
    public String getBusinessTypeName() {
        return businessTypeName;
    }

    /**
     * 业态名字
     *
     * @param businessTypeName 业态名字
     */
    public void setBusinessTypeName(String businessTypeName) {
        this.businessTypeName = businessTypeName == null ? null : businessTypeName.trim();
    }

    /**
     * 签单商务ID
     *
     * @return sign_user_id 签单商务ID
     */
    public Long getSignUserId() {
        return signUserId;
    }

    /**
     * 签单商务ID
     *
     * @param signUserId 签单商务ID
     */
    public void setSignUserId(Long signUserId) {
        this.signUserId = signUserId;
    }

    /**
     * 签单商务名字
     *
     * @return sign_user_name 签单商务名字
     */
    public String getSignUserName() {
        return signUserName;
    }

    /**
     * 签单商务名字
     *
     * @param signUserName 签单商务名字
     */
    public void setSignUserName(String signUserName) {
        this.signUserName = signUserName == null ? null : signUserName.trim();
    }

    /**
     * 签单商务部门ID
     *
     * @return sign_user_org_id 签单商务部门ID
     */
    public Long getSignUserOrgId() {
        return signUserOrgId;
    }

    /**
     * 签单商务部门ID
     *
     * @param signUserOrgId 签单商务部门ID
     */
    public void setSignUserOrgId(Long signUserOrgId) {
        this.signUserOrgId = signUserOrgId;
    }

    /**
     * 签单商务部门名字
     *
     * @return sign_user_org_name 签单商务部门名字
     */
    public String getSignUserOrgName() {
        return signUserOrgName;
    }

    /**
     * 签单商务部门名字
     *
     * @param signUserOrgName 签单商务部门名字
     */
    public void setSignUserOrgName(String signUserOrgName) {
        this.signUserOrgName = signUserOrgName == null ? null : signUserOrgName.trim();
    }

    /**
     * 签单事业部ID
     *
     * @return sign_org_id 签单事业部ID
     */
    public Long getSignOrgId() {
        return signOrgId;
    }

    /**
     * 签单事业部ID
     *
     * @param signOrgId 签单事业部ID
     */
    public void setSignOrgId(Long signOrgId) {
        this.signOrgId = signOrgId;
    }

    /**
     * 签单事业部名字
     *
     * @return sign_org_name 签单事业部名字
     */
    public String getSignOrgName() {
        return signOrgName;
    }

    /**
     * 签单事业部名字
     *
     * @param signOrgName 签单事业部名字
     */
    public void setSignOrgName(String signOrgName) {
        this.signOrgName = signOrgName == null ? null : signOrgName.trim();
    }

    /**
     * 订单金额(单位分)
     * @return money 订单金额(单位分)
     */

    /**
     * 核款状态
     *
     * @return pay_status 核款状态
     */
    public String getPayStatus() {
        return payStatus;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    /**
     * 核款状态
     *
     * @param payStatus 核款状态
     */
    public void setPayStatus(String payStatus) {
        this.payStatus = payStatus == null ? null : payStatus.trim();
    }

    /**
     * 付款方式
     *
     * @return pay_method 付款方式
     */
    public String getPayMethod() {
        return payMethod;
    }

    /**
     * 付款方式
     *
     * @param payMethod 付款方式
     */
    public void setPayMethod(String payMethod) {
        this.payMethod = payMethod == null ? null : payMethod.trim();
    }

    /**
     * 分配方式
     *
     * @return alot_way 分配方式
     */
    public String getAlotWay() {
        return alotWay;
    }

    /**
     * 分配方式
     *
     * @param alotWay 分配方式
     */
    public void setAlotWay(String alotWay) {
        this.alotWay = alotWay == null ? null : alotWay.trim();
    }

    /**
     * 接单人ID
     *
     * @return receiver_id 接单人ID
     */
    public Long getReceiverId() {
        return receiverId;
    }

    /**
     * 接单人ID
     *
     * @param receiverId 接单人ID
     */
    public void setReceiverId(Long receiverId) {
        this.receiverId = receiverId;
    }

    /**
     * 接单人名字
     *
     * @return receiver_name 接单人名字
     */
    public String getReceiverName() {
        return receiverName;
    }

    /**
     * 接单人名字
     *
     * @param receiverName 接单人名字
     */
    public void setReceiverName(String receiverName) {
        this.receiverName = receiverName == null ? null : receiverName.trim();
    }

    /**
     * 接单人部门ID
     *
     * @return receiver_org_id 接单人部门ID
     */
    public Long getReceiverOrgId() {
        return receiverOrgId;
    }

    /**
     * 接单人部门ID
     *
     * @param receiverOrgId 接单人部门ID
     */
    public void setReceiverOrgId(Long receiverOrgId) {
        this.receiverOrgId = receiverOrgId;
    }

    /**
     * 接单人部门名字
     *
     * @return receiver_org_name 接单人部门名字
     */
    public String getReceiverOrgName() {
        return receiverOrgName;
    }

    /**
     * 接单人部门名字
     *
     * @param receiverOrgName 接单人部门名字
     */
    public void setReceiverOrgName(String receiverOrgName) {
        this.receiverOrgName = receiverOrgName == null ? null : receiverOrgName.trim();
    }

    /**
     * 接单时间
     *
     * @return receive_order_date 接单时间
     */
    public Date getReceiveOrderDate() {
        return receiveOrderDate;
    }

    /**
     * 接单时间
     *
     * @param receiveOrderDate 接单时间
     */
    public void setReceiveOrderDate(Date receiveOrderDate) {
        this.receiveOrderDate = receiveOrderDate;
    }

    /**
     * 生产主订单状态
     *
     * @return order_status 生产主订单状态
     */
    public String getOrderStatus() {
        return orderStatus;
    }

    /**
     * 生产主订单状态
     *
     * @param orderStatus 生产主订单状态
     */
    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus == null ? null : orderStatus.trim();
    }

    /**
     * 合同编号
     *
     * @return contract_no 合同编号
     */
    public String getContractNo() {
        return contractNo;
    }

    /**
     * 合同编号
     *
     * @param contractNo 合同编号
     */
    public void setContractNo(String contractNo) {
        this.contractNo = contractNo == null ? null : contractNo.trim();
    }

    public Date getSignDate() {
        return signDate;
    }

    public void setSignDate(Date signDate) {
        this.signDate = signDate;
    }

    public String getScOrderSource() {
        return scOrderSource;
    }

    public void setScOrderSource(String scOrderSource) {
        this.scOrderSource = scOrderSource;
    }
}